Predicting and comparing C—M and O—M bond strengths for adsorption on transition metal surfaces