A brief introduction to chiral perturbation theory