Charged-particle scattering in a magnetic and a laser field and nonlinear bremsstrahlung