Consistent reduction of N=2 -> N=1 four-dimensional supergravity coupled to matter