In situ investigation of polymorphous silicon deposition