Harvard University faculty have voted to limit the number of A grades awarded to undergraduates, approving one of the most sweeping efforts by a major university to curb grade inflation.