CoreSPECT: Enhancing Clustering Algorithms via an Interplay of Density and Geometry