Real-time monitoring of surface passivation of crystalline silicon during growth of amorphous and epitaxial silicon layer