Coherent perfect absorption in deeply subwavelength films in the single-photon regime