'Lack of diversity' among Scottish school heads