Dynamics of brain oscillations during Bayesian perception