Judge denies marriage of same-sex couples