**Sensex and Nifty close at record high, Nifty ends at 15,799; Metal, IT and Pharma stocks in the lead**