In carrying out their respective authorities under this chapter, the Secretary of Housing and Urban Development and the Secretary of Health and Human Services shall each cooperate with and seek the advice of the heads of any other departments or agencies regarding any programs under their respective responsibilities which are related to, or would be affected by, such authority.