qcalc Assignment of partial charges to atoms in molecules based on their hardness and electronegativity