Playing Catch and Juggling with a Humanoid Robot