Facebook’s chief product officer Chris Cox and head of WhatsApp Chris Daniels are both leaving the company