Joyce homers off Robertson in 9th, Rays beat Yanks