The structural basis of modularity in ECF-type ABC transporters