Arecibo imaging of compact high-velocity clouds