Thermal conductivity measurements of bulk materials and thin films by the 3[omega] method