Correlated phenotypic transitions to competence in bacterial colonies.