Characterization of metal quantum-dot composites by optical absorption spectroscopy