Probing Bose-Einstein condensates by electron impact ionization