Investigation of deuterium retention in/desorption from beryllium-containing mixed layers