Of the Marvel Universe, the Captain America films are the most tied to S.H.I.E.L.D, and the Avengers in general. Because of this, it is probably best to watch them together with the first Avengers film. Iron Man and Thor don't rely so heavily on the Marvel arc, so they can be watched pretty much standalone. It's still probably best to watch them all as they released, though.