Newman cyclotomic polynomials, refinable splines and the Euler binary partition function