Electron–ion recombination rate constants in gaseous, liquid, and solid argon