Solitary waves in parity-time (PT)–symmetric Bragg grating structure and the existence of optical rogue waves