Achieving fault tolerance against amplitude-damping noise