Optimization of planar Hall effect sensor for magnetic bead detection using spin-valve NiFe/Cu/NiFe/IrMn structures