Equality groups criticise government's same-sex marriage plan