The photogalvanic effect in media lacking a center of symmetry