Egyptian security forces have killed 12 suspected militants in raids on their hideouts in north Sinai.