How were disputes between large and small states over how power should be shared in the federal government resolved at the constitutional convention of 1787?