Man who snatched police officer's revolver and fired three shots gets life term in jail, caning