Bimaterial problems with an interfacial cavity for some boundary conditions subjected to uniform heat flux normal to the interface