An Improved Bayesian-based Approach for Short Term Photovoltaic Power Forecasting in Smart Grids