Man United agree deal for Real's Varane