Eggs change from a liquid-like state to practically solid the longer you cook them, but why is that?