A nonperturbative treatment of radiative decays and the relativistic kinetic energy in heavy quarkonia