Exact solution of the mixed-spin Ising model on a decorated square lattice with two different kinds of decorating spins on horizontal and vertical bonds