The structures and the improper ferroelastic phase transition of RbAlF4