Study of dynamics of D0 →k-e+νe and D0 →π-e+νe decays