python compare two dictionaries with different keys and values