Evolutionary status and chemical composition of the atmosphere of the spectroscopic and speckle interferometric binary HD 10009