Selfdeflection of partially spatially coherent beams and solitons in photorefractive crystals