First Variation Formulae for Minimal Immersions and Harmonic Maps