Optimizing the spectral range of diffractive metalenses for polychromatic imaging applications