Williams signs $16M deal with Dolphins