Phase diagram of quasi-one-dimensional conductors in strong magnetic field