Experience-driven development of reliable stimulus representations in dynamic cortical networks