Effect of Velocity and Temperature Boundary Conditions on Convective Instability in a Ferrofluid Layer