What are the different phases of the component lifecycle?