Explain the lifecycle hooks of an Angular component, specifically focusing on ngOnInit and ngOnDestroy.