Projection Optimization: A General Framework for Multi-Objective and Multi-Group RLHF