Official: Real Madrid sign James Rodriguez