Adjusted restricted mean survival times in observational studies