Obama gives pep talk at TechBoston Academy: President hails school as model for nation