Electronic structure of molecular systems : from gas phase to thin films to devices / Siegfried Christiaan Veenstra