Superclusters of galaxies in the 2dF redshift survey. III. The properties of galaxies in superclusters