Reinforced Imitation Learning by Free Energy Principle