On the $L^p$ norms of stochastic integrals and other martingales