The New York State attorney general, Eric T. Schneiderman, filed lawsuits against two popular indoor tanning salon chains on Thursday, accusing them if playing downs hazards associated with indoor tanning and promoting the practice as a healthful activity.