Two-scale elastic shape optimization for additive manufacturing