French politicians have approved legislation that makes sexual harassment a crime. The new measure means some offences are punishable by up to two years in prison and a fine of almost $40,000. Al Jazeera's Emma Hayward explains.