Simultaneous reconstruction of sources and scatterers in a three-dimensional stratified ocean waveguide