Formation and distribution of sea-surface microlayers