Elastic constants of La, LaH2, and LaH3