Characterization of ultracold neutron production in thin solid deuterium films at the PSI Ultracold Neutron source