The physical conditions and oxygen and nitrogen abundance of 36 SBS galaxies from the SDSS DR7