Two-pion exchange electromagnetic current in chiral effective field theory using the method of unitary transformation