Conformations of attractive, repulsive, and amphiphilic polymer chains in a simple supercritical solvent: Molecular simulation study