Tangents and secants of algebraic varieties--Notes of a course