PBF Energy swings to $299.6 million Q1 profit, declares dividend