Attitude determination for balloon-borne experiments