Diffractive processes in nuclear physics