Periodic flare of the 6.7-GHz methanol maser in IRAS 22198+6336