Morata signs Madrid deal for Juve