Effect of electrical boundary conditions on the polarization distribution around a crack embedded in a ferroelectric single domain