Officials say the attacks occurred Thursday in the cities of Batticaloa and Trincomalee .