Characterisation of dielectric loss in solids and liquids