Numeraire-Invariant Quadratic Hedging and Mean-Variance Portfolio Allocation