Introduction to generation, manipulation and characterization of optical quantum states