Production of ion and electron streams by pulsed-laser ablation of Ta and Cu