Microbeads detection using Planar Hall effect in spin-valve structure