Finite amplitude one-dimensional pulses in an inhomogeneous granular material