Effect of microstructure of different metal layers on the electrical properties of Schottky diodes based on silicon.