Internal bremsstrahlung in the electron capture decay of 145Sm