Theory of microdroplet and microbubble deformation by Gaussian laser beam