Doctor who killed pediatrician, himself after hostage standoff had only weeks to live: Police