The p- and hp-versions of the virtual element method for elliptic eigenvalue problems