German coalition parties agree to reform citizenship law