The software maker’s quarterly revenue exceeded analysts’ expectations, as remote working drove greater demand for its cloud-computing services