Integrated Sensing and Communications With Reconfigurable Intelligent Surfaces: From signal modeling to processing