Structure and adsorption at gas–solid interfaces: Layering transitions from a continuum theory | Synapse