What treaty resulted in the nonrecognition of the RSFSR by Latvia and other states