On-chip micro-electromagnets for magnetic-based bio-molecules separation