German chemicals group has been buffeted by high energy prices and hamstrung customers