Dielectric and magnetic properties, and electronic structure of multiferroic perovskite PbFe0.5Ta0.5O3 and incipient ferroelectric pyrochlore Pb2Fe0.34Ta1.84O7.11 single crystals and ceramics