Active Inference: Demystified and Compared