Ice nucleation by smectites: the role of the edges