Acoustic emission from superconducting magnets and superconductors