PhD Thesis (Advisor: Rafael Mallol Balmaña). A condensed version was published by the University of Barcelona (ES: pdf).