Primes in arithmetic progressions to smooth moduli