More foreigners than ever before are being denied Spanish nationality, but the number of applicants is also growing.