The modes of the melodic minor system