The Casimir effect as a source of chiral symmetry breaking in QCD