Indonesian police use an invasive physical test to check for female recruits' virginity, a report claims.