K2 Ultracool Dwarfs Survey – VI. White light superflares observed on an L5 dwarf and flare rates of L dwarfs