Boris Becker says hearing the news of Rafael Nadal's retirement from tennis hit him like "a punch in the gut".