An Expectation-Maximization algorithm to infer mutational signatures