Evolution of free-living relatives of apicomplexan parasites