Computational design of molecules for dye sensitized solar cells and nano electronics Kristian Baruël Ørnsø Ph.D. thesis