Microsoft reports increase in quarterly revenue and profits