get backbone and chi angles from pdb files