An efficient finite field approach for calculating static electric polarizabilities of periodic systems