The infrared response of lead phthalocyanine thin films to chlorine and iodine doping