Prove that coefficient of restitution/resilience of perfectly elastic collision in one dimension is unity