ScotRail has announced it will be trialling using vegetable oil as an alternative to diesel fuel.