Elastic properties of rhombohedral, cubic, and monoclinic phases of LaNiO3 by first principles calculations