Electroweak and Higgs boson internal bremsstrahlung. General considerations for Majorana dark matter annihilation and application to MSSM neutralinos