Deep spectroscopy of the low-metallicity blue compact dwarf galaxy SBS 0335-052