Panchromatic spectral energy distributions of simulated galaxies: results at redshift z = 0