Virtual element method for second-order elliptic eigenvalue problems