Michigan police say teen who shot at officer killed himself