First-principles calculation of the frequency-dependent dipole polarizability of argon