Role of steric and electrostatic effects in the short-range order of quasitetrahedral molecular liquids