Maximal domains of preferences preserving strategy-proofness for generalized median voter schemes