More than 40 people have been injured in an explosion at a restaurant in the northern Japanese city of Sapporo.