Electrodynamics of granular aluminum from superconductor to insulator: Observation of collective superconducting modes