Optimum design of few-mode EDFAs by using topology optimization