Packing-dependent pore structures in single-walled carbon nanotube arrays