Child custody extends to accused rapists in some states