Active galactic nuclei at z ∼ 1.5 – I. Spectral energy distribution and accretion discs