How Putin uses gas to win allies and punish enemies