Chemical castration has been used on sex offenders in several countries over many years, with some success - but it remains controversial.