An exact integral relation between the Ni56 mass and the bolometric light curve of a type Ia supernova