psychological adaptation mechanisms