Skin health company PhotoMedex grabs $40M in stock offering