Same-sex marriage gets federal boost in six states