Egyptian officials say more than 40 people have died in a series of bomb attacks in a Red Sea resort area .