The entire British army would be destroyed in about six months to a year in a major war, a defence minister has warned.