Captain Beiring commanded a reserve military police unit stationed at a U.S. detention center in Bagram where the prisoners died .