N.M. Supreme Court declares same-sex marriage legal statewide