Nykaa files for IPO, plans to raise $500 million