The respiratory membrane is composed of two extremely thin layers of simple squamous epithelium. Explain how the structure of the respiratory membrane allows its function.