Microsoft has been rated the most environmentally friendly company. Here’s what it’s doing right.