Amorphous silicon as a passivant for crystalline silicon