Text this: On the TC/MAX criterion for code acquisition and its application to UWB systems