When introduced in the 1990s it seemed almost miraculous - a cheap tablet with few side effects that promised to banish the misery of heartburn caused by acid reflux.