Localized-orbital model for carbonyl donors