Britain's Jonathan Rea won the opening race of the World Superbike season with a superb performance in Thailand.