Silicon thin films prepared in the transition region and their use in solar cells