Band energy levels and compositions of CdS-based solid solution and their relation with photocatalytic activities