Bidirectional Mental State Alignment For Human-Machine Collaboration