Habitable Zone Composition (HZC): A habitability metric for exoplanets