4-year-old with rare brain cancer becomes honorary police officer