Application of virtual reality technology for psychological rehabilitation of patients after brain injuries