Additive manufacturing of multi-material structures