OD-Characterization of alternating and symmetric groups of degrees 16 and 22