Topics in chiral perturbation theory