Encapsulation of electrical and electronic devices and components, where high heat dissipation, low thermal expansion and non-magnetic properties are needed