Optical control of coherent lattice motions probed by femtosecond electron diffraction