Magnetoresistance in Poly (3-hexyl thiophene) Based Diodes and Bulk Heterojunction Solar Cells