Photoelectrochemical and photocatalytic behaviour of thin porphyrin films on semiconductor materials