Applications of Light-Front Quantization in QED and QCD