McKinney officer credited for heroism in saving family from burning building