Atomistic simulation of energetic and entropic elasticity in short-chain polyethylenes