Spectral evolution of nova V5558 Sgr (nova Sgr 2007): Pre-maximum and early decline stages