A three-dimensional phenomenological model for shape memory alloys including two-way shape memory effect and plasticity