Superconductivity and lattice dynamics of granular tin