Risk factors for haemorrhage from oesophageal varices and acute gastric erosions.