Chiral matter coupled to two-dimensional quantum gravity