Productivity and macroelements content of cereal and legume crops