Spectral properties of hermitian-preserving maps, generalized matricial ranges, and positive definiteness