The effect of temperature and ion type on the effective charge in polystyrene latices