First-principles study of the solid solution of hydrogen in lanthanum