Renormalization-group improved inflationary scalar electrodynamics and SU(5) scenarios confronted with Planck 2013 and BICEP2 results