How teachers and parents can cultivate competent, happy children using a few simple principles as their guide