On Lie gradings III. Gradings of the real forms of classical Lie algebras