Mass spectrometric fragmentation and photocatalytic transformation of nicotine and cotinine