Photoexcited Porphyrins Functionalizing TiO2and SnO2Nanocrystals