What is the primary function of a power rectifier circuit?