Glass transition of random heteropolymers: A molecular dynamics simulation study in melt, in water, and in vacuum. (16th January 2023)