Effective Field Theories for Quantum Chromo- and Electrodynamics