Autonomous landing on a oscillating platform: an internal-model based approach