Diagnosing onion maggot in lupins and peas