Influence of twins on the critical current in YBaCuO single crystals