Molecular signatures of resource competition: clonal interference drives the emergence of ecotypes