Conformational changes involved in the singlet-triplet transitions of biphenyl