Revised Ba I and Ba II Wavelengths and Energy Levels Derived by Fourier Transform Spectroscopy