Two medieval rings that were discovered by metal detecting friends in Norfolk have sold for a combined price of £30,000.