U.S. to buy up to 1 million bbls of oil for emergency reserve