An investigation has been launched after a woman was sexually assaulted on an Edinburgh train.