Homotopy theory of unital algebras