Spain has fined five budget airlines €179m (£149m) for “abusive practices,” including charging extra for hand luggage.