Closed orbits and shell effects in semiclassical response functions