Two-photon-pumped optical gain in dye-polymer composite materials