Molecular basis of UV and psoralen mutagenesis