At least seven people were killed and 20 others injured in a blast at a camp for people displaced by the Boko Haram conflict in northeast Nigeria.