Charge-coupled devices and their applications