Child behaviour 'linked to sleep'