Weak first order transitions. The two-dimensional Potts model