Man dies as car hit by train at level crossing