What is the relationship between the free energy principle and Bayesian theories of perception and cognition?