A wooden boat packed with nearly 300 passengers has sunk in the River Niger, Nigerian officials say, with 150 people rescued.