An X-ray absorption study of glycine, methionine and proline