Accurate determination of modes in dielectric-loaded cylindrical cavities using a one-dimensional finite element method