Structure of derivations on various algebras of measurable operators for type I von Neumann algebras