Learning to Walk over Structured Terrains by Imitating MPC