A military aircraft transporting 128 people was involved in an accident as it took off from southern Colombia, according to the authorities.