Distributed Storage for Intermittent Energy Sources: Control Design and Performance Limits