Microsoft beats quarterly revenue estimates