Homotopy theory of associative rings