A model of micellization for block copolymers in solutions