Apple finalizes Shazam takeover, says app will be ad-free