Emission-line profiles and kinematics of the narrow-line region in Seyfert and radio galaxies