Frequency-dependent dielectric constant prediction of polymers using machine learning