A complementary energy formulation of no-tension masonry-like solids