Preparation of Sn-doped CuAlS2 films with an intermediate band and wide-spectrum solar response