The era of generous credit card rewards is coming to an end.