Performance limits on ranging with cognitive radio