How to write your PhD thesis: A step-by-step course