Originally presented as the author's thesis, Uppsala.