The cation binding associated with structural transitions in bromegrass mosaic virus