Effect of electron-phonon coupling on the thermoelectric efficiency of single-quantum-dot devices