Grain size and grain boundary-related effects on the properties of nanocrystalline barium titanate ceramics