The Netherlands has approved landmark legislation set to ban so-called 'conversion therapy', making it a criminal offence.