Magnesium effect on the permeability of the amniotic membrane as a whole and of the amniotic epithelial cells