Determinants of environmentally-friendly farming