Spectral detection of J-aggregates of cationic porphyrin and investigation of condition of their formation