Effects of grain size and grain-boundary segregation on superconducting properties of dense polycrystalline La1.85Sr0.15CuO4