An intergenerational nursery has won a national teaching award for its inclusive approach to early years education.