Internal bremsstrahlung in electron capture and neutrino mass