Police investigate three-car accident