Amazon posts biggest profit ever at height of pandemic