Shock processing of interstellar grains