Nonlinear absorption and nonlinear refraction of self-assembled porphyrins.