One Problem, One Solution: Unifying Robot and Environment Design Optimization