Spanish tennis player banned for eight months for betting offences