Ultra Petroleum to acquire Marcellus properties for $400M