Photoionization of ultracold and Bose-Einstein-condensed Rb atoms