how do drugs affect behavior and mental processes