CROCS: Clustering and Retrieval of Cardiac Signals Based on Patient Disease Class, Sex, and Age