Theoretical investigations of systems relevant in the chemistry of the atmosphere