Domain evolution during the spin-reorientation transition in epitaxial NdCo5 thin films