General principles of the synthesis of chalcogenides and pnictides in salt melts using a steady-state temperature gradient