Police department cracks down on social media use by officials