Preparation of dielectric layers for applications in digital microfluidic thermal switches