Partially supported by ISF grant 701/08. thank this institution and the organizers of the course E. Gallego, X. Gual, G. Solanes, and E. Teufel, for the invitation to give these lectures. I thank A. Bernig for his remarks on the first version of the notes, and F. Schuster for a very careful reading of them and numerous remarks.