Implications of chiral symmetry on S -wave pionic resonances and the scalar charmed mesons