Electrostatic deflections of cantilevered semiconducting single-walled carbon nanotubes