Major, soldier martyred, 6 terrorists killed in N Waziristan