Rachael Leigh Cook and David Gillies split after nearly 15 years of marriage