Introduction to stellar astrophysics