Open clusters as key tracers of Galactic chemical evolution. III. Element abundances in Berkeley 20