Effects of the van der Waals Interactions on Structural and Electronic Properties of CH3NH3(Pb,Sn)(I,Br,Cl)3 Halide Perovskites