Reversible phase transformation and mechanochromic luminescence of Zn(II)-dipyridylamide-based coordination frameworks.