Ex-SP surrenders in sexual harassment case