Charge density wave state of two-dimensional electrons in strong magnetic fields