Formulae for secondary electron yield from insulators and semiconductors