Energy dependence of 26Mg(p,t)24Mg and 12C(p,t)10C L = 0 and L = 2 angular-distribution shapes