Microsoft to buy Minecraft creator Mojang for $2.5 bn