Flux Pinning Properties in YBa2Cu3Oy Films with BaSnO3 Nano-rods and Spatially-controlled Y2O3 Nano-dots