Complementary energy formulation of no tension masonry-like solids