BLASTbus electronics: general-purpose readout and control for balloon-borne experiments