A Bayesian method for Short-Term probabilistic forecasting of photovoltaic generation in smart grid operation and control