Rod-to-Coil Transition of a Conjugated Polymer in Solution