Study of vector mesons in dimuon production in a large kinematic region in p-W and S-W interactions at 200 GeV/c/nucleon