A photocontrolled beta-hairpin peptide.