Tensile strength and flux pinning force of superconducting Nb3Sn compound as a function of grain size