Modelling of an equivalent circuit for Cu2ZnSnS4- and Cu2ZnSnSe4-based thin film solar cells