In the summer of 1968, the photographer was assigned to shoot the cover for a story on “the most important musician in the world.” He shares how it happened