Order-disorder transition: diblock versus triblock copolymers