Mapping the three-dimensional structure of proteins by photochemical techniques