Joint optimization of collaborative sensing and radio resource allocation in small-cell networks