Text this: The double bubble problem in spherical and hyperbolic space