Mechanistic insights into the photocatalytic valorization of lignin models via C−O/C−C cleavage or C−C/C−N coupling