Electronic properties of bilayer and trilayer graphyne in the presence of electric field