Maine same-sex couples marry in first hours of law