Upper gastrointestinal bleeding in relation to previous use of analgesics and non-steroidal anti-inflammatory drugs