Spectral analysis of a nonself-adjoint differential operator