Working nights or unusual hours is bad for our health - but it can be mitigated, new research has discovered