1-mJ Q-switched diode-pumped Nd3+:BaY2F8 laser