ENH: raise a more helpful error message when merging frames with duplicate columns. close #2649