A Delta flight from Los Angeles to Boston was diverted to Detroit after the captain fell ill. The aircraft landed safely, and a replacement crew continued the journey to Boston.