A filled function method for quadratic programs with binary constraints