Memory effects of diblock copolymer brushes and mixed brushes.