Barkhausen noise and size effects in magnetic microstructures