mol-from-smiles simple python function to calculate molecular formula and atomic mass from SMILES string