One-dimensional porphyrin H-aggregates induced by solvent polarity