Longitudinal tuning of the SNS superconducting linac