IDF says two soldiers will spend weeks in military prison over incident it said was viewed with great severity