Apple and Google are working together to make it easier to switch between Android phones and iPhones.