Optimal Couples of Rearrangement Invariant Spaces for Generalized Maximal Operators