Effect of back-contact barrier on thin-film CdTe solar cells