Chemical vapor deposition of thin semiconductor films for solar energy conversion