Existence of weak solutions of stochastic differential equations with standard and fractional Brownian motions and with discontinuous coefficients