EU plans to make fossil fuel firms share excess profits, draft shows