Thin-film solar cell