what were the two things that were agreed upon in the mayflower compact ? why did they agree to them