Performance of prototype BTeV silicon pixel detectors in a high-energy pion beam