William and mary were invited by parliament to take the crown in a bloodless revolt as long as they promised to sign the english bill of rights. this was known as the