Thermoelectric effects in correlated quantum dots and molecules