Indonesian President Joko Widodo has defended the introduction of chemical castration for paedophiles, saying in an interview published on Wednesday there can be "no compromise" when it comes to tackling sex crimes.