Redox-induced collapse and regeneration of a pincer-type complex framework: a nonplanar coordination mode of palladium(II).