Difference between a CMOS and a CCD sensor