Systematic optimization of the sensing properties of ring-core fluxgate sensors with different core diameters and materials