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