Nonlinear differential-difference and difference equations: integrability and exact solvability