Distributed detection and estimation with reliability-based splitting algorithms in random-access networks