Tractable Performance Analysis for Outdoor and Indoor 3D Small-cell Networks