Microsoft beats revenue forecasts but poor performance of cloud services drags share price