Ex-deputy checked obituaries before targeting homes to burglarize, police say