Add reserve and reserve_index functions for Vec and VecMap, and capacity() for VecMap