Chris Pratt and Anna Faris have announced they are separating after eight years of marriage.