Chiral symmetry and effective field theories for hadronic, nuclear and stellar matter