ruling state law provides immunity to law enforcement officers and agencies for police conduct during investigations