Logic and connectivity jointly determine criticality in biological gene regulatory networks