Generalized squirming motion of a sphere