The vertical structure of T Tauri accretion discs - III. Consistent interpretation of spectra and visibilities with a two-layer model