Strategies For Tailoring The Mechanical Response Of Lattices And Foams