Superconducting triplet pairings and anisotropic magnetoresistance effects in ferromagnet/superconductor/ferromagnet double-barrier junctions