Proton shielding in single crystals of calcium and lead formate