An introduction to hydrodynamics and water waves