Journalists at the Guardian and Observer will stage two 48-hour strikes over the planned sale of the Sunday newspaper.