Mean field theory for the intermolecular and intramolecular conformational transitions of a single flexible polyelectrolyte chain.