Shock Excitation of Emission Lines in Radio Galaxies