Mechanics and polarity in cell motility