Giant magnetoresistance in hybrid magnetic nanostructures