Tilting modules and the p-canonical basis