Measuring longitudinal beam parameters in the low energy section of the Oak Ridge Spallation Neutron Source accelerator