Cluster models in nuclear astrophysics