Threshold photoproduction of neutral pions from few-body targets