A2 Milk profit rises but shares slump