How Groups Write the Law: An Empirical Analysis of Group Influence in American State Legislatures