Capita steps into legal market through planned Optima acquisition