Spin-forbidden excitation transfer and heavy-atom induced intersystem crossing in linear and cyclic peptides