NBC: Tim Allen denies Pamela Anderson claim that he flashed her on 'Home Improvement' set