Īmēra pūkete: The double bubble problem in spherical and hyperbolic space