AC conductance of finite-length carbon nanotubes