State rep. says he passed lie detector test amid sexual harassment allegations