Rectifying property and magnetocapacitance in multiferroic p-n junction