Additive manufacturing for freeform mechatronics design: from concepts to applications