Dense Matter in Compact Stars: A Pedagogical Introduction (Lecture Notes in Physics)