Characterization of CuInSe2 thin films prepared by ion-beam sputtering