S&P raises Latvian outlook to stable