Two of Germany’s biggest utility firms have agreed to swap assets in a deal that would see E.ON focus on energy networks and RWE concentrate on renewables