“The Flash,” in theaters June 16, has fun time-traveling through past superhero movies, though the newer visual effects compare unfavorably to the classics.