Relativistic dynamical reduction models: General framework and examples