Microsoft beats estimates as Azure growth hits 40%