The purpose of a cylinder head gasket is to