Introduction to foliations and Lie groupoids