Layered dipyridylamide coordination polymers from in situ lactonization of 2-carboxycinnamic acid