Microsoft earnings beat forecasts as profit tops $10 billion