Spanish climber ends 500 days of isolation in underground cave