Indian Markets end at a record high