To Know or Not To Know: Strategic Inattention and Endogenous Market Structure