Analysis of stray magnetic field at the substrate and effect of applying external magnetic field in facing targets sputtering