Measurement of the decay amplitudes of B0 --> j/psi + K*0 and B0s --> j/psi + Phi decays