Floquet Majorana fermions and parafermions in driven Rashba nanowires