Opener Rob Yates scored his first double century as Warwickshire beat Kent in three days. The 23-year-old, who had a previous best of 141, struck an unbeaten 228 with 23 fours and one six.