Photochemical stability of various porphyrins in solution and as thin film electrodes