Calif. first to ban teens' use of tanning beds