Ferroelectric polarization and magnetic structure at domain walls in a multiferroic film