Conditional and Residual Methods in Scalable Coding for Humans and Machines