Potting, casting and sealing of electrical and electronic devices, filters, membranes etc