Random ecological systems with structure: Stability-complexity relationship