Towards understanding the photochemistry of tyrosine