A comparison of Active Inference and Linear-Quadratic Gaussian control