Analysis and prediction of the different types of β-turn in proteins