Queen Camilla has pulled out of royal engagements after falling ill, Buckingham Palace has announced.