Quantitative solid–solid synthesis of azomethines