The influence of the macroring structure on the solvation of nonplanar porphyrins in organic solvents