Spatially multiplexed single-photon sources based on binary-tree multiplexers with optimized structure