Artificial flux pinning in Nb and Nb/sub 3/Sn superconductors