Weighted Plancherel estimates and sharp spectral multipliers for the Grushin operators