Design and fabrication of large- and small-bore railguns