The effect of solution pH and applied magnetic field on the electrodeposition of thin single-crystal films of cobalt