Dozens arrested in Spain after months-long operation