Optical Properties of Tetra(4-methoxyphenyl)porphyrin Thin Films and Their Applications