Barcelona have been charged with tax fraud by a Spanish court over the signing of Brazilian striker Neymar.