Interplay between electron–electron and electron–vibration interactions on the thermoelectric properties of molecular junctions