Factors affecting the development of pneumothorax associated with thoracentesis.