Physics explains why food is so easy to overcook - and how you can avoid it.