Ferroelectric domain configurations around an open crack under different electric boundary conditions