Monarch cancelled royal engagements after requiring ‘a short period of observation in hospital’, Buckingham Palace confirms