Kerri Einarson to leave curling team at the end of the season