Bicameralism and political compromise in representative democracy