Two photon decay rates of heavy quarkonia in the relativistic quark model