The structure of atonal music