Influence of Size Effect on the Electronic and Elastic Properties of Diamond Films with Nanometer Thickness