Raman spectroscopy study of lattice dynamics of macro-, micro-, and nanostructured barium titanates