Raheem Sterling credited England for fighting until the end after his penalty gave them three points in the Nations League.