The course notes were produced by extrapolating chapters 1 and 2 of the doctoral thesis of the lecturer Andrea Papini. See additional material for the useful links.