Military confirms investigation after cadets accused of flashing white power symbol