Elastic and elasto-optic constants of ammonium perchlorate