On the performance of TH-PPM and TH-PAM as transmission formats for UWB communications