German cabinet agrees to gas levy for consumers from October