Techniques in balloon X-ray astronomy