Head start: Scientists crack beer-froth enigma