Microphase separation transition in block copolymers : a test of Leibler's theory by Monte Carlo simulation