Contemporaneous observations of the radio galaxy NGC 1275 from radio to very high energyγ-rays