Majority of young carers take time off school