The Islamic State extremist group has claimed responsibility for an attack on an air force base in Niger's capital.