Ellyse Perry and Ash Gardner were among the victims as Australia lost 4-7 in the second ODI against England.