Over-the-counter pain pills are safer and more effective than prescription opioids for controlling the pain following dental procedures, a review of the evidence has found.