A serving Metropolitan Police officer has been sacked after accessing confidential files about the case of Sarah Everard.