After retiring , he was appointed assistant secretary of energy for defense programs by then-President Ronald Reagan in 1985 .