Interstellar matter in elliptical galaxies. III. Properties of dust extinction