Dynamic regression hazards models for relative survival