Attitude stabilization controller for quadrotors based on the unit quaternion