Monte Carlo investigations of dense copolymer systems. III. Properties of triblock copolymers in good and theta solvent.