Defects and Boundaries in Quantum Field Theories