A man who assaulted the Government’s Chief Medical Officer as he walked through a central London park has been convicted and sentenced.