Children should go to same-sex couple despite birth parents' wishes, says top family judge