In your position, I'd call the first firm, saying that you have a better offer and intend to take it. And then state the two options available - either you don't start at all, or you hand in your notice on day one and leave a week later, wasting everyone's time and training budget. Suggest that the first option is the best for the second firm, as they may still have time to get a replacement for you.