Schooling and domestic transitions: shifting gender relations and female agency in rural Ghana and India