Optimal delegation and limited awareness, with an application to financial intermediation