A mean field description of the transition to the mixed state of superconducting microbridges with low vortex pinning forces