Student’s resilience as achieved capability: the substantive grounded theory (SGT) in public education