World’s largest memory-chip maker posts record earnings for the three months to September