Electron-phonon interaction, lattice dynamics and superconductivity of an oxide spinel LiTi2O4