Flickering gives early warning signals of a critical transition to a eutrophic lake state