Blues re-sign goalie Jake Allen to two-year contract