Polymeric triple-shape materials