The Islamic State militant group has claimed responsibility for an explosion at a public market in the southern Philippines that wounded at least seven people early on Saturday.