The photoreaction of trimethoprim in solution