Court takes couple’s children because father is transgender