Nasdaq Composite closes at record high ahead of key US inflation report