Z2 phase diagram of three-dimensional disordered topological insulators via a scattering matrix approach