Lecture notes on toric varieties