First-principles study of pressure effects on the molecular solids(CH3)4X[M(dmit)2]2(X=N,PandM=Ni,Pd)