The Federal Trade Commission said Monday it warned five tax preparation companies against using consumers’ confidential data for purposes unrelated to tax preparation, such as advertising, saying the companies could face penalties of more than $50,000 for each violation.