The evolutionary consequences of niche construction: a theoretical investigation using two‐locus theory