Hamblin wins Food City 500 at wild afternoon in Bristol