A major collection of photojournalistic works by major figures including Henri Cartier-Bresson, Robert Frank and Irving Penn have been gifted to the Tate.