A role of the Trp–His interaction in the conformational switch between α-helix and β-sheet in short alanine-based peptides