Shift workers such as ambulance officers may need longer weekends to recover from the irregular hours they work, a study says.