The Taliban have threatened, assaulted and arbitrarily detained women and girls for not abiding by the prescribed dress code.