Thermoelectric properties of a molecular junction with strong vibrational coupling