John Legend says having a baby "challenged" his relationship with wife Chrissy Teigen when they struggled to conceive naturally.