NCERT apologises for ‘inappropriate textual material’