Embedded density functional theory for covalently bonded and strongly interacting subsystems.