The U.S. Justice Department is investigating whether California and Maine violate female inmates’ rights by housing them with transgender women