1/2 cup (1 stick) unsalted butter, cut into pieces, plus more, softened for molds
4 ounces semisweet chocolate (54%), preferably Valrhona, chopped
2 large eggs
2 large egg yolks
1/4 cup sugar
2 teaspoons all-purpose flour
Whipped cream, for serving (optional)