Minn. voters beat same-sex marriage, photo ID measures