Micromagnetic investigation of domain and domain wall evolution through the spin-reorientation transition of an epitaxial NdCo5 film