Hirzebruch-Riemann-Roch theorem for differential graded algebras