The cloud and Office keep Microsoft afloat during PC slump