Generalized Frattini subgroup and supplements of subgroups of groups