Algebraic classification of Robinson-Trautman spacetimes