Chiral models of composite axions and accidental Peccei-Quinn symmetry