A company which sent more than 500,000 texts urging people to support its campaign to leave the EU has been fined by the Information Commissioner’s Office.