A pair of Eric Morecambe's trademark glasses have fetched £20,000 at an auction.