Enhanced spin-triplet pairing in magnetic junctions with s -wave superconductors