Dissipation factor measurement