Detection oftrans–cisflips and peptide plane flips in protein structures