Molecule production via Feshbach resonance in bosonic systems