Energy storage performance of Vn+1Cn monolayer as electrode material studied by first-principles calculations