A framework for performance analysis of TH-UWB communications