Cohen-Macaulay and (S2) properties of the second power of squarefree monomial ideals