NLO QCD+EW corrections to diphoton production in association with a vector boson