U.S. consumers picked up their spending in February and March, a sign that households were feeling confident about their economic prospects.