Production of non-gaussianities in a bouncing phase