Asian energy firms rally on oil surge, but market gains pared