King’s household admits “ageing” computer systems need replacing to protect the monarchy from security threats