A course in continuum mechanics