Femtosecond x-ray pulse length characterization at the Linac Coherent Light Source free-electron laser