Rouhani says two sides' positions closer after nuclear talks