Effective photodissociation cross sections for molecular oxygen and nitric oxide in the Schumann-Runge bands