Structures, electronic and thermodynamic properties of NiB2n (n=7-11) and their anions: A theoretical study