Collision Tolerant and Collision Free Packet Scheduling for Underwater Acoustic Localization