Microsoft posts record one-day market cap gain after earnings