Conformation and energy transfer in a single luminescent conjugated polymer