Modeling and optimization of thin-film devices with Si/sub 1-x/Ge/sub x/ alloys