Synthesis and biological activities of quinazoline derivatives with ortho-phenol-quaternary ammonium salt groups.