why does oil foam during frying