A Massachusetts police officer plays an impromptu basketball game with a 6-year-old