An agent-based model of modal choice with perception biases and habits