Middle atmospheric changes caused by the January and March 2012 solar proton events