Sales, earnings rise at Whirlpool