Adaptive finite difference methods in fluid dynamics: Lecture notes prepared for the short course in Computational Fluid Dynamics at the von Karman Institute for Fluid Dynamics