Former world snooker champion Graeme Dott has been convicted of sexually abusing two primary school children in Scotland in the 1990s and early 2000s.