add string/wstring interface to chemicalformula