Study: Long hospital shifts boost mistakes