A serving Metropolitan Police officer has appeared in court accused of outraging public decency on Hampstead Heath.