Scanning SQUID microscopy on polycrystalline SmFeAsO_{0.85} and NdFeAsO_{0.94}F_{0.06}