The taxes imposed under this part shall be for the privilege of transacting business for each calendar quarter of each year but shall be measured by the gross premiums and consideration received by the respective companies during the quarter immediately preceding.