Prediction of quantum interference in molecular junctions using a parabolic diagram: Understanding the origin of Fano and anti- resonances