Inertia and diffusion controlled bubble growth and implosion in initially uniform pure and binary systems