Action understanding and active inference