Homogenization of Coupled Deformation, Damage and Diffusion Processes in Rocks and Finite Element Applications in Geomechanics and Geomorphology