Smartphone Audio Acquisition and Synchronization Using an Acoustic Beacon With Application to Beamforming