Multianalytical characterization of biochar and hydrochar produced from waste biomasses for environmental and agricultural applications