Photospheric Flux Cancellation and the Build-up of Sigmoidal Flux Ropes