Denmark heads to polls as tight race sets stage for coalition talks