A Quantum-Chemical Simulation of the Cadmium Chalcogenide Clusters Terminated with Hydrogen and Simple Functional Groups