EU states have agreed on an "emergency plan" to reduce natural gas consumption in the bloc