Stock repurchases with legal restrictions. Evidence from Spain