Generation of entangled coherent states for distant Bose-Einstein condensates via electromagnetically induced transparency