Tories vent at Cameron over gay marriage